package Design_patterns.creator_mode.factory.abstractFactory.factory;

import Design_patterns.creator_mode.factory.abstractFactory.coffee_package.AmericanCoffee;
import Design_patterns.creator_mode.factory.abstractFactory.coffee_package.Coffee;
import Design_patterns.creator_mode.factory.abstractFactory.dessert_package.Dessert;
import Design_patterns.creator_mode.factory.abstractFactory.dessert_package.MatchaMousse;

/**
 * @description: 美式风味甜品工厂 生产美式咖啡和抹茶慕斯
 **/

public class AmericanDessertFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMousse();
    }
}
